package com.flac.flacservice.mapper;

import com.flac.flacservice.pojo.entity.UserStatus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flac.flacservice.pojo.vo.UserInfoDTO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author DaYouZi
 * @since 2023-03-06
 */
@Repository
public interface UserStatusMapper extends BaseMapper<UserStatus> {

    Boolean insertUserStatus(UserInfoDTO userInfoDTO);

    Boolean updateStatusByUserId(UserInfoDTO userInfoDTO);

    Boolean foreverRemove(Integer id);
}
